package com.yun.zhong.fu.sharecenter.spring_origiond_code_study;

/**
 * @Author RenPu
 * @Date 2022/10/25 12:38
 * @Version 1.0
 * @Description:  lookup-method使用得类1
 **/
public class Student1 extends BaseStudent {

    @Override
    public void sayHello() {
        System.out.println("hello student1...");
    }

    @Override
    public BaseStudent getStudent() {
        return new Student1();
    }
}
